import Layout from '@/layout'
// 每个模块外层都是Layout 组件位于layout的二级目录
export default {
  path: '/departments',
  name: 'departments',
  component: Layout,
  children: [{
    path: '', // 二级目录为空表示改路由是当前二级路由的默认路由
    component: () => import('@/views/departments'),
    name: 'departments',
    meta: {
      title: '组织架构',
      icon: 'tree'
    }
  }]
}
